//
// Created by mac on 1/28/22.
//

int getSum(int a, int b) {
      while (b!=0){

          int carry =(unsigned int)(a&b)<<1;//进位
           a = a^b;//无进位
          b = carry;
      }
    return a;
}